package cn.ylz.ylmall.product.dao.persist.repository;

import cn.ylz.ylmall.product.pojo.entity.CommentLike;

import java.util.List;

public interface LikeRecordRepository {
    int insert(CommentLike commentLike);
    boolean existsByCommentIdAndUserId(long commentId, Long userId);
    List<CommentLike> findAll();

    void delete(CommentLike commentLike);

    void deleteByCommentId(Long commentId);
}
